@echo off
set PATH=C:\mingw64\bin;%PATH%
echo 正在编译C++程序...
g++ -o hiveql_to_snowflake_sql.exe main.cpp
if %errorlevel% equ 0 (
    echo 运行程序...
    hiveql_to_snowflake_sql.exe
    echo 程序执行完毕
) else (
    echo 编译失败，请检查错误
)
pause
